package com.ap.core.ldap.dao.api;


import com.ap.core.ldap.domain.LdapAttribute;
import com.ap.core.ldap.domain.LdapZappUser;

/**
 * Dao interface to perofirm ldap operation on consumer user
 */
public interface LdapZappUserDao extends LdapGenericDao<LdapZappUser>{

    /**
     * persist and add attribute to property in ldap zapp user
     * @param ldapZappUser  - ldap zapp user
     * @param destinationAttributeName - destination attribute name
     * @param userTree - user tree
     */
    void checkThenPersistAndAddAttribute(LdapZappUser ldapZappUser, String destinationAttributeName, String userTree);

}
